﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SceneLib
{
    public abstract class SceneObject
    {
        public string Name { get; set; }
        public Vector Scale { get; set; }
        public Vector Position { get; set; }
        public Vector Rotation { get; set; }
        public Vector Velocity { get; set; }

        public SceneObject()            
        {
            Scale = new Vector(1, 1, 1);
            Position = new Vector(0, 0, 0);
            Rotation = new Vector(0, 0, 0);
            Velocity = new Vector(0, 0, 0);
        }

        public abstract Intersection Intersect(Vector e, Vector d, float t0, float tf, float time0, float timef);
        public abstract Vector GetTextureColor(Vector p);
    }
}
